20. GPIO Commands > 20.7 AT^SSIO   Set IO state of a specified pin or port

20.7
AT^SSIO   Set IO state of a specified pin or port
Syntax
Test Command  
Response(s)
^SSIO:(list of supported <io_id>s), (list of supported <value>s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 

Parameter Description
 
<io_id>(num)
This can be either an already configured <pin_id> or an already opened <port_id>.
 
<value>(num)
State to be set for this <io_id>.
0
Low for <pin_id>
1
High for <pin_id>
0...1023
For <port_id>


Notes
•
If you set a state on a port whose width is less than 10 bits, the bits of <value> that are more significant than the MSB of the port are ignored.
•
The write command is only applicable to <pin_id>s or <port_id>s which are configured as output.